import httpx
import argparse

def get_prama():
    parser = argparse.ArgumentParser(description="")

    parser.add_argument("--ip", "-ip", action="store", help="传入ip")
    parser.add_argument("--port", "-port", action="store", help="传入端口号")
    parser.add_argument("--period", "-period", action="store", help="传入要监控的周期")
    args = parser.parse_args()

    return args


async def func() -> bool:
    pass



if __name__ == "__main__":
    args = get_prama()

    



    print(f"{args.ip}, {args.port}, {args.period}")